package com.caseProcess.mapper;

import com.caseProcess.entity.CaseOperNote;
import com.caseProcess.entity.VCaseEnd;
import com.caseProcess.entity.VCaseOperNote;
import com.caseProcess.entity.VCaseProcInfoByPolice;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author kittlen
 * @version 1.0
 * @date 2020/11/15 9:58
 */
@Repository
public interface VCaseProcInfoByPoliceDao {
    //查询分派信息
    VCaseProcInfoByPolice selectCaseProcInfo(@Param("parentId") String parentId, @Param("processId") String processId);

    List<VCaseProcInfoByPolice> selectVCaseProcInfoByPolices(VCaseProcInfoByPolice vCaseProcInfoByPolice);//查询不包含办结的所有处理过程
    List<VCaseProcInfoByPolice> selectVCPIByPolicesAndTime(@Param("vCaseProcInfoByPolice") VCaseProcInfoByPolice vCaseProcInfoByPolice, @Param("startTime") String startTime, @Param("endTime") String endTime );//查询不包含办结的所有处理过程
    List<VCaseProcInfoByPolice> selectVCaseOperNotes(VCaseProcInfoByPolice vCaseProcInfoByPolice);//包含已办结的所有处理过程
    List<VCaseProcInfoByPolice> selectCaseUrging(VCaseProcInfoByPolice vCaseProcInfoByPolice);//查找催办案件
    List<VCaseProcInfoByPolice> selectCaseByStatus(VCaseProcInfoByPolice vCaseProcInfoByPolice);//警情跟踪
    List<VCaseProcInfoByPolice> selectUrgingByStament(@Param("vCaseProcInfoByPolice") VCaseProcInfoByPolice vCaseProcInfoByPolice,@Param("startTime")String startTime,
                                                @Param("endTime")String endTime);//条件查询催办
    List<VCaseProcInfoByPolice> selectStatusByStament(@Param("vCaseProcInfoByPolice") VCaseProcInfoByPolice vCaseProcInfoByPolice,@Param("startTime")String startTime,
                                                      @Param("endTime")String endTime);//条件查询警情追踪
    List<VCaseProcInfoByPolice> selectVCaseProcInfoByPolicesStatus( @Param("nextpoliceId")String nextpoliceId);//待审批列表
    List<VCaseProcInfoByPolice> selectCaseStatus(VCaseProcInfoByPolice vCaseProcInfoByPolice);//查找警情追踪
    List<VCaseProcInfoByPolice> selectVCaseProcInfoByStatusPro( @Param("processId")String processId);//待审批详情页
    List<VCaseProcInfoByPolice> selectCheckByStament(@Param("vCaseProcInfoByPolice") VCaseProcInfoByPolice vCaseProcInfoByPolice,@Param("startTime")String startTime,
                                                     @Param("endTime")String endTime);//条件查询待审批
}
